package com.qef.com.mmovie.presenter.contract;


import com.avos.avoscloud.AVUser;
import com.qef.com.mmovie.base.BasePresenter;
import com.qef.com.mmovie.base.BaseView;

/**
 * Created by qianenfan on 17/2/24.
 */

public interface LoginContract {

    interface View extends BaseView {
        void showContent(AVUser avObject, int action);

        void error(Throwable throwable, int action);
    }

    interface Presenter extends BasePresenter<View> {
        void login(String username, String pwd);

        void register(String username, String pwd);
    }
}
